check_dendrogram_pos function

Check that dendrograms are positioned correctly