Separates correlation model from distance calculation