Maggs with new interface for varying dielectric

This pull request contains:
- some minor changes for better performance
- a new (not yet used) function to calculate self-influence correction
- a more fitting interface for the dielectric changes
- documentation for said interface
- merges

I didn't realize it's so much already. Will make smaller pieces in the future.