Towards a mathematical model for brain’s circuits