Created RotationMatrix that extends Matrix3d.