add check to see if theta (residual covariances observed variables) is positive definite