Added getderiv deferred function in function1d