calculate_density function

Calculate Fuzzy Density