Invia SMS: Modeling of photonic devices