A lot of changes. Made defuzzify method aswell