Gravar-mail: Simulation of membrane separations using a modified Maxwell-Stefan model