Updated system for converting namedtuples to dictionary. 

Updated system for converting namedtuples to dictionary. Now any namedtuple can be passed in and create the corresponding dictionary.

Comments are currently very ***verbose*** for reasons of tutelage. Feel free to cut them down later.