Minor changes to MatrixTransformImage