Processing of chemical sensor arrays with a biologically inspired model of olfactory coding