Threshold count works. Velocity Graph works.

need to add button for velocity. move variables to opening function. and visualize and quantify noise from accelerometer.