Hydrodynamic modeling and performance analysis of bio-inspired swimming