Ultrafast electron diffraction pattern simulations using GPU technology. Applications to lattice vibrations.