Neighborhood Graphs For Estimation Of Density Functionals