Added parsing code and DTW for results testing