updated lib and test

there was a bug when training the XOR in the test module, the
iterations limit was set too low and it was finishing the training
before the net converged in an optimal result