Expanded docstrings for all functions.

Also, corrected typo in README.md