Generate_distance_matrix minor changes for determining to look up walk/driving directions.