On the Problem of an Optimal Three Dimensional Aircraft Motion