Haar wavelets for efficient similarity search of time-series: with and without time warping | Synapse