An Introduction to Fuzzy Logic for Practical Applications