Fast rng mrg

C-code for a slow function for seeding random number generators. The speed up is about 10x.