Add basic docs to every function.
Merge pull request #3 from daenney/docs

Add basic docs to every function.