pull x_i from x_dat NOT dataset