First CAD-tool for simulating complex photonic integrated circuits