get_cluster_distances function

Return the distances between the centroids of each pair of clusters, under the clustering of a given number of trees