Return mole fractions from mass fractions X
function massToMoleFractions extends Modelica.Icons.Function; input SI.MassFraction X[subsNum] "Mass fractions of mixture"; input SI.MolarMass MMX[subsNum] "Molar masses of components"; output SI.MoleFraction moleFractions[subsNum] "Mole fractions of mixture"; end massToMoleFractions;