calculating distance to player now through waypoints on the track.