Added bezier curve functions in Vector2 class.