ENH hashtable-based matrices for storing parameters

Merged in the uthash library for the hash tables.