If you'd like to take a look at the NPP code we've been working on it's here: https://github.com/davidjpmoore/Calloc_TreeRingNPP