get_tabulated_dist function

Extractor for tabulated distribution in the k-sample test