https://aibsnews.com/non-parametric-density-estimation-theory-and-applications/