Oh. Why do we need to compress a 2d array into a 1d array? If we really need to, could we do it instead with `np.reshape`?
http://docs.scipy.org/doc/numpy/reference/generated/numpy.reshape.html