Density based membership function for fuzzy clustering