ham-mom.h: remove unused method
BareHamiltonian: made 2 methods static

CalcDim and CountBits are now static.