Calculation of dynamic motions and tensions in towed underwater cables