Optimal Control (CMU 16-745) 2024 Lecture 14: Optimizing Rotations