I am building something with a ui similar to quartz composer where you can connect two points with bezier curve. What is a good formula for the two control points?