Numstat / fix interface

Further number/coeffs interface fixes (part2)

fix: correct header includes 
chg: minor cleanup
note: dangerous handing of BIGINTs was marked
ok, then I'm sorry.
probably it is too late and I should go home.