Fixed memory problem in numjacinit