Trajectory Optimization of Critical Maneuvers for Rotorcraft Vehicles