Fix rotations

This fixes angle validation in  MatrixRotation2D #1068