Demystifying neural networks