Added TT and distance calculation between waypoints.