Catching error caused by singular matrix

Occasionally chol2inv fails. Setting the loglik to a bad value and returning appears to fix the problem