Altered weight decay variable so that we subtract the weight decay multiplied by the weight, not the previous change