I have tried several functions like dataellipse and ellipse in R, but with dataellipse and ellipse function there is an underlying assumption of normality. To not make that assumption I am using the kde2d function in R and creating two contours at 97.5% and 2.5%. I find whether points lie in each of the contour and then take the difference. But I am getting negative values. The points within the 2.75% contour should also be within 97.5% contour but that doesn't seem to be the case. I have the R code (attached) and data (attached) if you are interested.