Add approximate Kolmogorov-Smirnov test & use it for std_dists.