Statistical shape analysis in a Bayesian framework; The geometric classification of fluvial sand bodies.