converted all the docstrings numpydoc format