A modified Bayesian filtering framework for ECG beat segmentation