Fixed representation of neural network. And gate works correctly for all -1=False, 1=True