On the classification of simple and complex cells