Change API for Wilcoxon matched pair test

Reflect that sample must be same at type level.

Also fix test suite
Change types for test result

Store test statistic for a distribution in Test data type

Fix KS test along the way
Add one-tail conversion between sigmas and CL