Changed kde computation to use scipy.spatial.distance.cdist.

Uses the `scipy.spatial.distance.cdist` function with the `mahalanobis` distance metric to compute the $\chi^2$ values instead of looping over the `dataset` or the `points` at which the PDF is to be evaluated. The changes yield a two-fold speed up and a smaller code base.