Added quadratic and cubic Beziér interpolation