dTV_sample function

The total variation distance between distributions