Deformable Markov model templates for time-series pattern matching | Synapse