Optical design for the Rosetta wide-angle camera