Adds simple peak finding function, getNumPeaks()
Decomposes |delta_y| into diff between |y_current| and |y_prev|
Relaxes delta-t peak requirement, and adds delta-y peak requirement. Seems more robust.
Changed so that the detection is purely position based and not time based. Actually works quite well.
Merge branch 'master' of https://github.com/rgabrielsson/MobileMindfulness into peak_counting
merge
Added basic statistics to result screen and moved breath rate calculations to breathResults.js
Fixed position of condensed labels
Merge pull request #19 from rgabrielsson/peak_counting

Adds simple peak finding function, getNumPeaks()