This function is based on this answer: https://gis.stackexchange.com/a/203623
polygon.points_kde(latitude, longitude, latitude_width, longitude_width)
numeric vector of latitudes
numeric vector of longitudes
bandwidths for latitude values. Defaults to normal reference bandwidth (see bandwidth.nrd).
bandwidths for longitude values. Defaults to normal reference bandwidth (see bandwidth.nrd).