Added in some short docstrings for pydoc, made a proper main function for simulation, and did some very minor refactoring for standards compliance.