adding some simple matrix element filtering

some convenience stuff for removing matrix elements.