Attempt at implementing an optimum Bezier class