A fuzzy logic evaluator in Erlang