Optical design and quantitative perturbation analysis of a nulling interferometer