pub fn compare_vecs<T: Float>(v1: &[T], v2: &[T], epsilon: T) -> bool
utility function to compare vectors of Floats