Fast fuzzy logic library