Expanded documentation

Fixes #19.