add weighted vector