Understanding neural networks and fuzzy logic