#### Rotations 2D rotation matrix: $R_{\theta}=\begin{bmatrix}\cos\theta & -\sin\theta \\ \sin\theta & \cos\theta\end{bmatrix}$ #### Least Squares #### Gram-Schmidt