in DataSet:
  use two matrices to store the data