1 typo, pep8 and docstring edits

The docstrings, when viewed in sphinx, are pretty rough looking. I started making some changes which could be extended to the rest of the functions.