portfolio_compute function

Portfolio Compute