deep learning architectures a mathematical approach