A Log-linear model of grain size influence on the geochemistry of sediments