converted all restructured docstring into Pep 257 format.