modified c interface ric mhe if & returned multipliers