Fix density support calculation using scipy kde