Determine Increasing And Decreasing Intervals