fixed if else statements in fuzzy number function.