port of GED Photons to use new regression calculator