Refs #10815 Added optional parameter for seeding the random generator