add dist_matrix method, changehausdorff_distance method