Bunch generation matched with intensity effects implemented (from
distribution function). Still some testing and corrections expected.