Fixed 3x3 matrix operations