Multiplies all components of the given vector with the given scalar @factor.
1.2
the scalar factor
return location for the result vector