firstdiminterpolation working