removed the logging of bradycardia and tachycardia, instead added the information to the log file header
replaced the fixed thresholding by an adaptive thresholding to detect heart beats; added a heart rate stabilization phase