Add uniform piecewise linear approximation to the timeseries model script, and switch to the improved uniform piecewise aggregate approximation implementation.