Analytical and numerical methods in optimal control theory and their application to aerospace vehicle trajectory optimization and guidance;