local extrema filter is now added. This detects local extrema.