Reformatted code and comments/docstrings to PEP-8. Still some work to do on readability for long lines, and need to rehaul all documentation.