assume_sorted is now the last keyword argument in class interp1d