calculate_likelihood function

Calculate a dataset's likelihood using change points of segmentr object