Single hidden layer neural net trained on XOR function using PyBrain library