fix non-rotation matrices coming out of eig