Merge pull request #47 from aMarcireau/math

Math
Add math function to events
Change configuration