Efield simulation first cut

Added option to sum electric fields instead of potentials.
Added comments for describing what each section does.