Change Adam implementation
Change Adam implementation

The algorithm described in the Adam paper didn't match the implementation here. This changes the implementation to match Algorithm 1 in the paper.

Fixes #18.
lmjohns3/downhill