Instrument that applies a stable and well-focused beam of charged particles (electrons or ions) to a sample