use the correct RNG for the matrix demo