An inverse problem to infer paleo-flow conditions from turbidites.