improved wilcoxon code