Code cleanup according to guidelines

- Fixes spacing
- Changed indentation
- Removed `#pragma`s and comments