Added support for Anderson-Darling and Kuiper based fitting, instead of KS statistic. Also added MIT license explicitly in the code itself.