M3A function

Model M3A MLE function