Math behind Deep Neural Networks