pure functionmoleFraction_psxin