bugs in 2-D kernel density estimation