BSD and MS linear congruential random number generators in swift