1) fixed improper behavior when the dipole correction was near the edge of the cell
2) added ability (default=False) to plot esp in the cell and show where the work functions are
3) added option (default=True) to remove the generated pot.xsf as this file is generally extraneous and relatively large
a bunch of fixes to get_work_function
1) fixed improper behavior when the dipole correction was near the edge of the cell 2) added ability (default=False) to plot esp in the cell and show where the work functions are 3) added option (default=True) to remove the generated pot.xsf as this file is generally extraneous and relatively large