Changed name of photometry routine