Adjusted mersenne twister (was wrong)