Sounds like you need the derivative function or nonNegativeDerivative function or the perSecond function.