Error: the variance-covaraince matrix V is not invertible in