Changed Threshold to be for acceleration

The program now detects for when the acceleration of the graph is greater than a certain value. Once this value is crossed, the time is check and the current heartrate is displayed. The threshold value is not well defined and will likely be changed after analysis.