aple function

Approximate profile-likelihood estimator (APLE)