added MoM defuzzification and completed CoG defuzzification