I have a distance matrix precalculated for each pair of labels, and I would like to pass that distance instead of eucliden or some other method.
It will e helpful if the distanceFn accepts a function that takes two labels as arguments and return the distance.