C-based time series library