y data was not being pulled from y_dat, but x_dat. duh