protected.mixML function

Protect against numerical errors in maximum likelihood computation