Added BPM sensing mode. Closes #23