some utils for loading matrices into mem ... needs lots of refactoring
fix naming
fix major bug in the way the dictonary is saved
fix some issues w/ matrix reloading, some asserts etc.