Essays on Macroeconomics and Capital Intermediation Networks