Improving switching speed of a nonlinear Mach-Zehnder Interferometric logic gate with Ring-Resonators