ran pep8 linter and commented large sections of code base