Added different number of samples for quadratic time MMD