Extended Mat4 with perspective matrices