M2B function

Model M2B MLE function