Deep Learning Architectures : A Mathematical Approach