Minor changes to estimation code.  Started writing R code to attempt to recreate KDE