FIX some problems with new cython code fo loss-augmented inference in CRF