Embedded Hysteresis Compensation and Control on a Magnetostrictive actuator