Dynamics of Manipulators with Elastic Segments