First pass at timeseries.cpp