fix cos bug in VPM object & wrong weight in vcm