Add acceleration support.
Merge pull request #51 from derekhe/feature/acceleration

Add acceleration support.