Monte Carlo calculations of electron energy loss.