Make accumulate return uint64_t
Merge pull request #26 from kanielc/accumulate-type

Make accumulate return uint64_t