m = slopes(x, y, method='parabola', monotone=True)