1. A system for processing data, the system comprising: a matrix of N rows and M columns of processing units, where N and M are integers greater than zero, wherein each processing unit includes at least one logic circuit and each logic circuit is configured to perform a bit operation; memory configured to store an array of N rows and M columns of commands, wherein each command of the array of N rows and M columns of commands defines a configuration of the bit operation of one processing unit of the matrix of N rows and M columns of processing units; and a controller configured to control the matrix of N rows and M columns of processing units using the array of N rows and M columns of commands stored in the memory to process at least one input data word having N bits to generate at least one output data word having M bits.