Fuzzy system (fuzzyfication, inferential mechanism, defuzzyfication) written as c library