When using edit distance's DM, getDM triggers an exception of out_of_bounds in ClusteringPAM class. Fixed.