How are hard braking events calculated?