DBA: Averaging for Dynamic Time Warping