windows fixes

renamed aux.h/cpp to helper.h/cpp
added math_defines for M_PI
made some functions inline