added a variable index and a missing equality in the SGD Figure comments