Identification and Rendering of Contact Dynamic Models in Robotic and Haptic Systems