gives two dimensional array of velocity data