renamed form parameter for shapefile and used new kde function