Corrected polygon track generation algorithm
Corrected checkpoint checking algorithm