SMS dit: Autotuning of a transmission electron microscope /