beagle tree likelihood using partitions