Added functions to produce common types of matrices used in OpenGL, did minor refactoring. Main now uses a projection matrix and allows transversal along the Z axis, as well as rotation about the X and Y axes.