Added some common bit manipulation tricks to bincalc