M5B function

Model M5B MLE function