Add some documentation, change example.
Add some trig utils to math.
Add mouse events.
Minor changes. Add more doc, change example.