A Cellular Neural Network for Packet Selection in a Fast Packet Switching Fabric with Input Buffers