TimeSeriesInterp:  performance improvement

- remove an auxiliary variable from the inner loop