fixed bug in wilcoxon test calculation; export for fishers test (part of
#1866)