Globally Gated Deep Linear Networks