public void run(){
// initialize values
int col = numC - 1;
totMat.setVal(myRow, col,
costMat.val(myRow, col));