Fixes Bug #7 (M_PI being undefined on some systems). This is fixed on my system at least