Add documentation
Fix based on github comment
Merge pull request #4 from emahags/issue1

Add documentation