Simplify kernel density method