Update TimeSeries.m