determinant could go negative so a sqrt will fail then.