Handling memory properties of smart materials: A review on modeling, compensation and control