added adagrad to rntn