Vertical navigation trajectory optimization algorithm for the lockheed L-1011