pub fn from_series(series: &Series, row: usize, col: usize, shape: Shape) -> Self {
        let v: Vec<f64> = series.to_vec();
        matrix(v, row, col, shape)
    }
Matrix from series

# Example
```rust
#[macro_use]
extern crate peroxide;
use peroxide::fuga::*;

fn main() {
let a = Series::new(c!(1,2,3,4));
let m = Matrix::from_series(&a, 2, 2, Row);

assert_eq!(m, matrix(c!(1,2,3,4), 2, 2, Row));
}
```
src/structure/matrix.rs