make random a float between 0 and 1