Core systems of geometry in animal minds