Design and analysis of segmented-mirror primary mirror system