R-point Detection for Noise Affected ECG Recording through Signal Segmentation