Changed the NCurve struct to NPoseArr (explained in the patch description further), and switched the included alloc/free functions to the blender ones