Mathematics of Neural Networks