Framework basically done, fix margCostDict and start to make calcProfit