Essays on Mortgage Portfolio Diversification