Improved docstring formatting

The docstrings had really long lines and were very hard to read. I've spruced up the formatting a bit.