The geometry of convergence of simple perceptrons