Change how random is done for tableflipping

Signed-off-by: Adam Jimerson <vendion@gmail.com>