Wrote python script to perform simple code cleanup operations, less severely than autopep8
Aesthetic changes

Ran a script to edit the code to make aesthetic changes. Doesn't reach full pep8 compliance, but should put code on a better footing to make further edits by hand (rather than by autopep8).

Changed the following:
   TAB --> 4 spaces
   Removed whitespace padding around parentheses and brackets.