public static int PoissonRandomNumber(double lambda){
		RandomGenerator rand = new RandomGenerator();
		
		double l = Math.pow(Math.E, -lambda)  , p = 1;
		int k = 0;
		do{
			k++;
			p = rand.nextRand() * p;
		}while(p > l);
		return k-1;
	}