Java fuzzy logic controller