Slewing multiple targets optimizing angular acceleration torque attitude modeling spacecraft design quaternion