generate_photon_paths seems to be working