Finish DG cache, successful tests.
Optimize dynamic_casts.
Remove unnecessary shared memory OpenMP pragmas.
Add TCMALLOC to cmake.
Code cleaning.
Make DP caching more user-friendly & properly deallocate.
Fix freeing unused cache records.