implement baczynski's prng, lots of other stuff is broken though