autopep8 again; either minor tidy ups.
Add a pile of documentation, using sphinx and numpydoc.