Fixed race condition.  we only update d_i_column after we have finished updating d_Qi (in cuda_update_gradient())