Modeling Secondary Electron Trajectories in Scanning Electron Microscopes