- added brownian motion example

- small fixes