A more general solution to the control points