Fixed an error in the calculation of the G cost