You're setting rows, so the dat needs to be the same length as the number of rows in the matrix, I think that's the left dset?