give.thresh function

Compute the maximum distance of the minimum spanning tree based on a distance matrix