Includes positions and frequencies in the photon list.
The problem is that the kernel still does not handle properly the 3D nature of one
of the arrays. The proper solution has to be found.