Transformations and matrix operations