adding documentation
Merge pull request #264 from rjynn/master

adding documentation