Updated DTW code to support n-dimensional (vector-valued) observation data.  Template and sample must have same n.