Add speed library to calculate easing speeds.