Stability of singularly perturbed systems and networks with parasitics