mmd function

Compute MMD values from a table of sample sizes and relative frequencies