Changed docstrings to standard python format