A cone formation theory of contamination in high resolution transmission electron microscopy