Stubbed out grad_iterate, get_row, get_col