updated hierarchical clustering with new matrix