Setup auto-doc on several categories of functions.
Clean up most existing functions to match the numpydoc
format guidelines:
https://github.com/numpy/numpy/blob/master/doc/HOWTO_DOCUMENT.rst.txt