pub fn mag(seq: &[f32]) -> f32
Calculates the magnitude of the given sequence, same as sqrt(mag2(seq))
mag2(seq)