pub fn mul<T>(a: [T; 2], b: [T; 2]) -> [T; 2]where T: Copy + Mul<T, Output = T>,
Multiplies two vectors component wise.