fixes the crash when one of the diagonal covariance matrix is negative, also the problem with LinAlgError
fixes the crash when one of the diagonal covariance matrix is negative, also the problem with LinAlgError

baudren/montepython_public,baudren/montepython_public,miguelzuma/montepython_zuma,miguelzuma/montepython_zuma