Added nicer resizing
Used namespace glm to simplify the code.
Debug for triangle rendering