added kdtree lookup function for volume photons