Updated G_RAND_DOUBLE_TRANSFORM to be more accurate. Redid g_rand_double()