Fixed bug multiple definitions of hog (moved hog.hpp to hog.cpp).