pub fn vandermonde(x: &[f64], n: usize) -> Vec<f64>
Given some length m data x, create an nth order Vandermonde matrix.