Theory of Self-Organization of Cortical Maps