A Method for Calculating the Absorption Correction in Electron-Probe Microanalysis