(demo_ai4r_average_linkage) create_distance_matrix.