Added a special case for large n and D > .99 to KS goodness of fit test