Reformatted docstrings for better Sphinx/Spyder compatibility. Recomplied documentation.