Finding Intervals of Increase/Decrease Local Max/Mins