Working on dtw_wrapper.m