Initialize random number generator once per application.