Brain tunes itself to criticality, maximizing information processing