added special cases for t=0, t=1 to prevent subtle errors that could occur from round-off. Made extrema behavior more consistent with quadratics and cubics.
added special cases for t=0, t=1 to prevent subtle errors that could occur from round-off. Made extrema behavior more consistent with quadratics and cubics.

hfutrell/BezierKit,hfutrell/BezierKit