Added a Wilcoxon signed-rank test based stopping condition.

It statistically compares the performance of two NNs.
The code is adapted from the implementation in R-2.10.1