include MATH_DEFINES using M_PI
soved conflict with M_PI