Function fromRotationMatrix