Add docstrings to all remaining methods and classes. Closes #10.
Add contribution guidelines.