Commit fixes #206.
Before, arrays beam.dt and beam.dE have been initialized with the same random number stream because only one seed was set and that only once. This caused the problem described in #206.
Now, separate random generators are used for beam.dt and beam.dE. When initializing N particles, particles 0-(N-1) will now have the same dt and dE values as particles 0-(N-1) when initializing (N+1) particles.
Commit fixes #206. Before, arrays beam.dt and beam.dE have been initialized with the same random number stream because only one seed was set and that only once. This caused the problem described in #206. Now, separate random generators are used for beam.dt and beam.dE. When initializing N particles, particles 0-(N-1) will now have the same dt and dE values as particles 0-(N-1) when initializing (N+1) particles.