Merge pull request #64 from tomscytale/master

Add docstrings
Merge pull request #65 from tomscytale/master

more docstrings and updates to exceptions