Improved the performance of Method DTWStatistics.
Changed the way of performing global path checksum, added a new method
in DTW_Calc.java to do it.