Mathematical Models of Cognitive Processes and Neural Networks.