A Magnetostrictive Model With Stress Dependence for Real-Time Applications