getRegularizedWeight: invert the first factor in w_i; fixes issue #24