Enable a couple optimized code paths and compiler hints to speed Matrix up.
Started port of N-dim map API over (or at least thinking about it).