A New Clustering Algorithm Based on Regions of Influence with Self-Detection of the Best Number of Clusters