Waypoint algorithm

Creates a number of waypoints determined by the interval period and the
bearing to the target.