Added RandTable lookup

Noticed vector lookups are faster than Math.random(). It's a tiny
optimization but this should help a little.