Gravar-mail: How Simple Cells Are Made in a Nonlinear Network Model of the Visual Cortex