Neuromorphic Embodied Agents that Learn (NEAL) based three-way association function