Experimental and simulated XANES spectra of MWCNTs annealed and contaminated with potassium at (a) normal and (b) grazing incidences.