suff_stat function

Compute the sufficient statistics of a distribution from data