Analysis of human cognition and the implementation of motivational sub-system in Clarion Architecture.