added a uniform-time-warping function