added local maximas.
added local maxima with hist.