Added transformationMatrix to Masks