Fixed a typo that resulted in the same seed being used every time. Also added some alternative methods for getting a seed. (fixes #30)