Deep Learning 2: Mathematical principles and backpropagation