Compute p-values of the K-S test for (dis)continuous null distribution
