Make results reproducible (set rand() seed)