static long idum; /* A negative integer required to initiate the random-number generator. */ float Random2(long *idum); /************************************************************************* Returns a uniform random deviate between 0.0 and 1.0. **************************************************************************/ float Normal_Random(float mean, float sd); /************************************************************************* Returns a normally distributed deviate with zero mean and unit variance. **************************************************************************/