Fix PEP8 Errors

Didn't really test this but it should fix all pep8 errors except E501 which is a line length issue.