State-dependent computations: spatiotemporal processing in cortical networks