fix memory corruption and complete perspective projection
Implement phong lighting