SMS versenden: Optimal control theory with aerospace applications