Renamed the set_discretization function to set_avg_edge_length.