code: private static double[] column(int column, double[]... nums) throws IllegalArgumentException {
  
          double[] ret = new double[nums.length];
  
          for (int i = 0; i < nums.length; i++) {
              double[] curr = nums[i];
              ret[i] = curr[column];
          }
          return ret;
      }
docs: This returns the given column over an n arrays
  @param column the column to getFromOrigin values for
  @param nums the arrays to extract values from
  @return a double array containing all of the numbers in that column
  for all of the arrays.
  @throws IllegalArgumentException if the index is < 0