malloc'ing the strings for consistency
Malloc'ing the units in dimensions too.
C-value deallocator, plus a few tweaks.
Setting up the infrastructure for C callbacks.