Basically, instead of updating all λ's simultaneously, we will loop over each indicator function, and compute an update for that indicator function, in turn.
the first change we make is that we exchange the outer loops over training instances and indicator functions.