Handle 180 and 270 degree rotation transformation matrices.