ksResidualDistributions function

Kolmogorov-Smirnov test to compare residual distributions