fixed bug for heft initial_schedule and calculated ga