Mathematical Foundations of Neuroscience