A Spectral Closure for Inhomogeneous Turbulence Applied to Turbulent Confined Flow