Optimization Shape-Memory Situations of a Stimulus Responsive Composite Material