make it easier to set breakpoints for NaN / Inf tests
Temporary hack around determinants = 0
Add in a safe_det_log function

Doing det on 32-bit floats was underflowing to zero, even though the
same det on a 64-bit float would ultimately fit in a 32-bit value.
Ensure features are positive

We fail otherwise, as it’ll predict negative values for lmda.