Modeling the quasi-optical performance of CMB astronomical interferometers