R Function To Apply Hierarchical Clustering To A Matrix Of Distance Objects