Modelling and compensation of hysteresis for magnetostrictive actuators