Exact Primitives For Time Series Data Mining