Kolmogorov test for goodness of fit