Updated photon regression to latest version