adagrad plays better now, simplified algorithm a bit more