This function calculates K_M_var_factor, a numeric vector. Each entry in
this vector is a function of the number of times each unit is matched to, aka
\(K_M(i)\) (corresponding to Kiw, where \(M\) corresponds to M_matches. The calculation
in this function comes from Theorem 7, page 251 of Abadie and Imbens (2006)
Econometrica. The K_M_var_factor is an important component in the variance
estimation, created in the function estVarAI2006 in
estimateTau.