Evaluate a derivative of the piecewise polynomial
x : scalar or array-like of length N
der : integer
y : scalar or array-like of length R or length N or N by R
This currently computes (using self.derivatives()) all derivatives of the curve segment containing each x but returns only one.