CComputer simulation of electron microscope diffraction and iComputer simulation of electron microscope diffraction and images