OPENMP_DEBUG
Fixes to the interiorloop function