SCGIS also needs to store the training data, albeit in a different form, but one that is also of size T .
the matrix is interchanged so that its outermost index is over indicator functions, instead of training data.