changed curr_iter[j] update line in coordinate descent code