Bayesian classification of machined surface finishing by 2 D analysis of diffraction patterns