C/C++ time series data mining library