recomposes a 4x4 matrix