Transformation Optics: A Time- and Frequency-Domain Analysis of Electron-Energy Loss Spectroscopy.