Diesel spray macroscopic parameter estimation using a synthetic shapes database