Cleaned up code:
- Fixed imports
- Fixed formatting
- Changed float version of opengl methods into double version