Cleaned OpenGL1 Matrix Code

Same as the last commit #619 also cleaned up the surfaces code this time.
Tested and confirmed working on Mario game, Cubes demo, and ProjectChaos.