Estimating a probability distribution nonparametrically with a kernel density estimation