First python version of the bpm_detection algorithm.
Changed README to reflect python changes