fixed a bug in _gencov_weights. --sumstats-* now works