Added a class method for generating perspective matrices to the Matrix4 class.