XOR neural network trained