minCost function

DTW-based methods for univariate signals