Bug fix in index; bug fix in python scripts

Bug fix from Alec in EMFields3D.h