Computer-aided crystallographic analysis in the TEM