update docstrings to reStructuredText format compatible with Sphinx for building documentation