Variable Penalty Dynamic Time Warping