Fixed cluster_linkage()