Bio-Inspired Modeling Of Cognitive Tasks by