Templates and algorithms for two-layer cellular neural networks | IEEE Conference Publication | IEEE Xplore