How Deep Neural Networks Work