TimeSeriesInterp.c:  fix array out-of-bounds corner case