pub trait CreateMatrix<T: Into<f64>> { fn new(v: Vec<T>, x: usize, y: usize, shape: Shape) -> Matrix; }
To convert generic vector to Matrix