MLE and IRLS integration finished