Reduced performance bottleneck by checking whether a cascade has been updated before recalculating truth tables. Fixes issue #10 completely