q0 and p0 was not properly read from inputfile for more than 1 photon mode
Description
q0 and p0 was not properly read from inputfile for more than 1 photon mode problem was SAFE_allocate that was done for each mode, leading to q0=p0=0 for all, but the last mode.
Checklist
- [ x ] I have checked that my code follows the Octopus coding standards
-
I have added tests for all the new features added in this request.