Version 1.1

Able to calculate average. Unable to get steps counting after 5.
Version 1.2

Fixed number of steps. Added maxAmp to states.