debugged reweighting handling during cross_validation
created opt.w=2 to handled cross_validation situation in reweighting