tweaked the rand number generators

added some comments for further development