Machines with Flexible Shafts