diy Boxplus and logexp, copy from LLR_calc_unit