added an interior flag for DEC, changed hodge star back to a diagonalmatrix from a sparsematrix, qtmainwindow is still a mess and needs to be cleaned up as a general interface for graphical plugins