Function getBezierCurveLength

Calculates the total length of a Bezier curve.