Added #define _USE_MATH_DEFINES in hog.h for using M_PI in Windows.