Modelling of an actuated elastic swimmer