Optimal Continuous Torque Attitude Maneuvers