Change output format of ud_nodes and tested updates. Added new functions to matrix header and associated test. Changed ud_node and ud_tree to now accept two template parameters and change their associated names.