functions for dynamic time warping
Merge pull request #8 from bitterleaf/xjiang

functions for dynamic time warping