Fixed Matric Transformation Bug