Finished working version of KDE models with new NN calculations.  Significantly faster.  May still need to tweak flow control where anomalous NN distances are found, etc.