completed docstrings

Fixes #287