- accuracy test now prints total accuracy also. No need to got excel sheet.
- A lots of debugging statements
- Now it is ugly, but useful in future
- Bug : In ratio test, if all 4 conditions fails, the code crashes.
- Solution: If all fails, select the one with maximum peak amplitude
- Result: Improved accuracy by ~4%
- Maximum error tolerance is put in a variable which changes depending upon the sampling frequency