Add some docstrings
More docstrings
Merge pull request #981 from david-christiansen/docs

Add some docstrings