Design from nature: kinematic modelling of the seahorse tail