Performance of Machines with Flexible Bodies Designed for Biomimetic Locomotion in Liquid Environments