On the Theory of Implicit Deep Learning: Global Convergence with Implicit Layers