Advanced scoring finished

- max distance from the waypoint is the value 42
- added a a procedure to reset the minDistanceFromWaypoint
- this is so that all the waypoints can be updated on points
- commented on each procedure and variable