Updated DS1 to generate as a 1D array rather than 2D