Add initial sphinx docs
Fix formatting in docstrings