Function scaleVector

Scales a Vector by a scalar.