1. Fix the eroneous file-reading action in ReadFromFile.cpp
2. Fix the debug function of R-index. The previous versions can't dump the
R-index
3. Modify the way of dumping Raw ECG data in the codes for debug, in order
to fix the eroneous file-reading action mentioned by 1.