Bunch generation matched with intensity effects tested and corrected.
Updating main file in order to give an example on how to use.