Memory management

IKTasks, IKSegments and, if applicable, IKSolver, are allocated on the heap using set memory routines. These can be changed by the client using the following API function (declared in IKMemory.h):

 FIK::setMemoryRoutines(FIKAllocCB alloc, FIKFreeCB free)