On the motion of a curved and twisted rod