The sedimentation of flexible filaments