Created potential_well_cut method (lines extracted from
matched_from_distribution_density to be used in other cases)