Merge pull request #1 from sipa/slice

Slice bytes of G multiples to avoid cache timings.
Move implementations from impl/*.h to *_impl.h