vsum along dimension