Fixed adaGrad command in TrainModel.m