wtd.var: corrected denominator.  Thanks: Shan Huang