Works for gaussian distrib with 2 labels.