Support for backpropagation, xor works only for 200000 interation