Better random number functions.