Update bezier.py

An modification about the counter

n = [0,1,2,..nData-1]

Because the grade of Bezier Curve in referenced to the points, but his counter is P_0, P_1, ... P_(nData-1)