Added calculate_delta method; Added minor fix for saving last row in of the matrix in fastDTW algorithm