Make maximumDeviation an optional parameter of BezierCurve.prototype.getPoints