I thought that this should serve as executable documentation. Anyone who reads the code will see that rate is passed as a parameter of ExponentialGenerator, that we want to see distribution with mean 1.0 and rate is calculated using formula from statistics. I can remove it if you like.