Added variables to calculate ball location by calling offset on flag and ball.