nial/math.ndf: start on some basic math stuff
math.ndf: added bits/nbits