Hi! I have built a program for fuzzy inference using the "sets" package. Though there are no errors after defuzzifying using gset_defuzzify() command, the output after using the "centroid" option is a "NaN". What may be going wrong here? P.S: There are just 10 dependent factors and just five rules. All the membership function are Gaussian. Any help is appreciated. Thanks.