Sorry to bother u Mr holt, i want to ask about _fcm_criterion function . i assume _fcm_criterion is for fuzzy c mean one and want to know how did u get that calculation for computing u ?