rand← a uniformly distributed random number between 0 and 1