Fix for issue#30 - Improve initialization of randomizer