gda_min_distthreshold function

(For internally use and test only) Minimum Distance Threshold for Distance-based Weights