Corrected checkPhiTheta in Worldline.C
with modifs in Photon.C accordingly