added legend location parameter on plot_trait_dendrogram