Temporary fix for Factor Analysis example that is undeterministic,
checks determinant of covariance matrix is positive