update in finding the rise based on filtered data (filter now works
well)