def TableMerge(M0, M1, Y0, Y1):
  """
  Utility to assemble a completeness table from arrays
  """

  CompTable = []

  for m0, m1, y0, y1 in zip(M0, M1, Y0, Y1):
    CompTable.append([m0, m1, y0, y1])

  return CompTable