PEP 8

Fixes the majority of PEP 8 issues.