The motion of long slender bodies in a viscous fluid Part 1. General theory