Static and Dynamic Electron Optics: An Account of Focusing in Lens, Deflector and Accelerator