getTransformationMatrix