Optimized 3-D simulation method for modeling out-of-plane radiation in silicon photonic integrated circuits