added config option for adagrad in hardem.java