added docstrings for sphinx
addin gsphinx based documentaion