KDE from ks R package