work in progress: transforms with 3x3 matrix