Update equilbrium.c

Fixes the issue with error #2048: Undeclared identifier 'M_PI' when compiling on IDE's that run C99
Merge pull request #1 from adambatson/patch-1

Update M_PI to  a constant for newer compilers.