Changed NN3 back to XOR.