Add some generation functions for Matrix4