handle_noise function

Handling noise in the clustering results