move methods to kw arguments, sample more safely from Data list for kmeans
Explicitly import StatsBase for sample()