added convenience functions deleteDetector and dumpMaterialsto jmGen.py ver 1.1.19