Before revision:  The information of the spatial distribution of the electrones is obtained form Geant4 and afterwards it is implemented in Matlab where rays are created with tri-dimensional random trajectories through Monte Carlo simulations.
After revision:  The information of the spatial distribution of the electrones is obtained form Geant4 and here this distribution is used for the creation of rays as three-dimensional random trajectories through Monte Carlo simulations.