Improve oct-dielectric_function
Description
Change the logic of the dielectric function tool to be more generic, allowing to perform kicks in different directions that the x direction.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.