Calculating Mineral Formulas for Dioctahedral Mixed Layers: TEM-EDX Example