add comments for addMaterial.py