return the transformation matrix as a 4x4 matrix