Demystifying Neural Networks: A Mathematical Approach (Part 1)