Working bezcurveInterp fixed Pointer passing issue