M2A function

Model M2A MLE function