pub fn one_pad<T>(data: ArrayView2<'_, T>) -> Array2<T>where T: Copy + One,
Prepend the input with a column of ones. Used to incorporate a constant intercept term in a regression.