logreg_gradient for only 1 j