Fixes from fuzzing5
Description
Some minor changes:
- Forbid to compute stress for isolated systems.
- Remove the option for a functional that was removed at the same time as complex scaling.
- Avoid a FPE.
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.