Computer generation of convergent beam electron diffraction patterns