Conforms to PEP 8.

This commit (a complete breaking change to most functions) changes every file to conform to PEP 8.