Update documentation

- fill out descriptions of parameters and returns of most of the helper functions
- add `@module` to docs