Transform Matrix repaired

Transform Matrix repaired