old fix in vecDTW dataframe indexing