fix MH threshold calc for resampling
discrete dist comparison (for testing)
change discrete dist rep to alist (cons, not list)

The benefit is that now they're dicts.

Also, change discrete ERP signature.