An interconnection-oriented programmable chip for Cellular Neural Networks