Corrected bug in bunch generation, it was not working for Gaussian
distribution