Add argument to set random seed.
Merge pull request #1 from mcanini/master

Add argument to set random seed.