Network and information friction in macroeconomics