genMixFormula function

Generate Mixture Formula