Replaced calculated transform matrices by hardcoded ones for better perfromance