Modeling Identification and Control of Hysteretic Dynamics