get_branches_heights function

Get height attributes from a dendrogram