- fixed bugs in onBeatUpdate
- using newton’s gravity formule