Adding additional functions to the dense named matrix class