update to use Xorshift random number generation