Added acceleration

Added basic acceleration