Mersenne twister random number generator