The Evolutionary Origin of Nervous Systems and Implications for Neural Computation