dkernel function

Estimate density of a given kernel