Grain size distribution: The lognormal and the gamma distribution functions