Distributed primate cognition: a review