R peak detection

R-peak detection works. Able to find peaks and the intervals between
peaks is pretty much consistent.
Revert "R peak detection"

This reverts commit dc0c7e13f9266806490e610aafbb802bd4464783.