Fix loops in external current parsing
Description
Fix parsing of external currents, input was parsed for all np points unnecessarily.
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.