Safe and efficient aircraft guidance and control using neural networks