Defined M_PI

Not every enviornment defines M_PI, defining it here it is not defined
Merge branch 'origin/master'