fixed rotationMatrix/angle bugs