Change input/output of sphere and tissue to handle all photon variables