Variability-aware optimization of nano-CMOS Active Pixel Sensors using design and analysis of Monte Carlo experiments