Error: variance-covaraince matrix V is not positive definite