Added pedometer functionality, replacing the pure acceleration data