Multiply vector in nD (1<n<6) with a scalar