Modeling a Flexible Miniature Module Actuated by Shape Memory Alloys