Update dtw_parm.cpp

#include <algorithm> for max_element