curve2sedrate function

Convert a tracked tracked to a sedimentation rate curve