Docstrings formatted for numpydoc
Some prettyfying of functions