MLE function

Unconstrained piecewise linear MLE