Transition Matrix for Axes Rotation in 3D and 2D | Linear Algebra