Update DTW.cpp