pub fn hstack<T>(iter: impl IntoIterator<Item = Array1<T>>) -> Array2<T>where T: Clone + Num,
stack a 1D array into a 2D array by stacking them horizontally.