updating DataSet#interpolate method