An investigation into the New Keynesian macroeconomics of imperfect capital markets