lots in pbwtLikelihood.c - little things elsewhere