This update fixed errors associated with kde function in R v 4.2 and greater.
There was an error in the summary statistic density calculation in the `kde` function. This update corrects the calculation.