small speed optimization in SPPM lighting engine.

avoid sorting photons when we only need to know the distance to the farthest photon.
added a reference.