calc likelihoods as doubles instead of ints