Changed to use lrand48()