add sphinx docs, update docstrings
16 files changed