Improved docs
Multiple changes:

Fixed use declarations.
Added result buckets for stub functions
Fleshed-out stats_distrib() code and docs