added a costfunctiona nd bundled all parts into a single objective fn. added a copy of GPGO code and set it to run over a 4d tariff