Math and Architectures of Deep Learning