removing the negative time difference in PlotTDiff