Documenting main analysis functions

Documented analyze_multi, _rwty, and _single.