Working Bezier curve (for real this time)