Fix build issues related to M_PI by redefining it in math.h if not defined
Particle: Make private fields public if DEBUG has been set