Objective function derivative with respect to theta 1.