two working methods to find peaks: findAllTrends and findFeature
git push
git status
findAllTrends uses a slope-finding, R^2 method to find slopes, which (later on) can be used to find transitions. findFeatures finds peaks or valleys in a moving average