Cleanup function names. Add docstrings.
More README.
Fix bad indent.
Merge branch 'master' into gh-pages
Add API docs.