improves seeding for mersenne twister

- switch to c++11