Fixing a problem with the formula for Bezier points.