initial version of ADAgrad implemented