A convenient function for KS test of uniform distribution
ks(x)
x
a vector without NA
the p value of KS test