In a test application I have a data set of Vec<Vec<f64>> that I want to write. The current API forces this to reallocate into a &[f64] slice. If instead we took an iterator it would prevent the large reallocation.