Implemented Internal Random Number Functions