Added random number generator seeding
Python version can now be seeded as well; added switch to use pure Python immplementation