I have a data set of thousands of points and 400 polygons and created a kernel density estimate (using the kde2d function) for each polygon based on the points within it. Now I