updated documentation to numpydoc standard

This updates the documentation