Minor changes to PerspectiveDivide function. Added a transformation method from which to apply matracies to vertecies. Added debug method.