Macroeconomic Impacts of Capital Flows In Emerging Market And Developing Economies: A Thesis Submitted In Partial Fulfilment of The Requirements For The Degree of Doctor of Philosophy At Lincoln University