public double nextDouble(double lambda){
  return -Math.log(randomGenerator.raw()) / lambda;
}

public double nextDouble ( double lambda ) { return - Math . log ( randomGenerator . raw ( ) ) / lambda ; }
returns a random number from the distribution ; bypasses the internal state .
