Guided time warping for motion editing