General housekeeping and cleanup

housekeeping:

- deleted unused code + files
- fixed sse4.2 not being used if available
- removed formatting issues