extended Mat4