Locomotion and Morphing of a Coupled Bio-Inspired Flexible System: Modeling and Simulation