Pseudo RNG closer to C version

Uses numpy random.randint at the beginning of each sentence, and then a
linear congruential generator (UNIX rand48, java).

Can deal with variable table size.