Made BuildBase in MomHamiltonian more C++11

Method is now cleaner and more consices.
Some small changes

Added a print_bin with a width argument (static) and one without.