private void storeAndRoundDiag (int color) {
        Matrix diagMat = diag.getMatrix(color);
        for (int i = 0; i < diagMat.getRowDimension(); i++) {
            diagList.get(color).offer((int)diagMat.get(i,0));       // int cast results in precision loss
        }
    }