‘Stereotyping’ emotions is getting in the way of artificial intelligence. Scientists say they’ve discovered a better way.