Numerical Simulation of Electron Trajectories for EELS