pub fn mag2<E, A, const SIZE: usize>(a: &A) -> Ewhere A: VectorIter<E, SIZE>, E: NdFloat,
Computes the squared magnitude of a vector.