FADBSCAN logic extracted into the generic class TensorStatisticsDBSCAN