Refactoring smooth speed changing

- Ability to set functions of acceleration and deceleration