Moved the splitting of waypoints into the loop rather then the insert script. Also fixed the conversion factor for speed to do minutes to seconds