By analyzing the vocal patterns of couples in therapy, an algorithm was able to predict whether a relationship would get worse or improve. Erika Beras reports.