fix prior math for lbeta