m2 = slopes(x, y, method='catmul', monotone=False)