updates for dtw to do feature weighting and matrix now includes linear interpolation resizing