n-dimensional weighted mean