matrix and transformation matrix