A simple brutal force finder of the best atten value.
The algorithm goes through the values in decreasing order and looks for the first point hat has y higher by some factor of the standard deviation.