Refactored code, tinkered with the projectionMatrix