Docstring updates.

Added some new docstrings, and fixed up some PEP 257 compliance stuff.