Fix/add writer in poisson solver.
Fixes a bug (or implements a feature) so that calculator objects that contain a dipole correction can be written to the file at calc.write('filename.gpw').
Now should work with the new AFF output. Writer was present in the dipole correction but not in the poisson solver.