M4A function

Model M4A MLE function