Modify interpolate() for possible extrapolation