bug fixes

fixed calculation of portfolio returns
now properly handles return period days other than 1
confirmed randomly selecting tickers for long positions and setting beta equal to 1 tracks market
added functionality to test portfolio selection, including new optional key work in run simulation command