pub fn scale3<T>(a: [T; 3], b: T) -> [T; 3]where T: Copy + Mul<Output = T>,
Multiplies the vector with a scalar.