Add source_to_target_distances() function and generalize evaluate_fundi.py to evaluate_features.py