Functions for kernel smoothing (and density estimation)
