import back integrate
sum likelihoods
return vector likelihood