add mean method for weighted vector