Characterization of surface cracks with Rayleigh waves: a numerical model