Fixed error with calculation of middle of goal.