doc fixes and bug fix

Method was not selecting case/control samples. Added a “mode” variable
to compare_distributions which allows selecting “matched” samples or
“ind”(independent) samples.
In progress for doc updates as recommended by Evan and Jai
More documentation fixes