A simple model for development and function of long-range connections in neocortex