A High Precision R-Point Detection Algorithm