Creating a Neural Network Using Math