Transmission Electron diffraction techniques for nm scale measurement in semiconductors