Improved easing function and made it configurable.