split matrix into 4