Deep Networks from the Principle of Rate Reduction