Foundations for a Circuit Complexity Theory of Sensory Processing