not positive definite and NA errors