added all_distances to coord_utils. Use coord utils for distance matrix
computations in Structure