M_PI defined for Microsoft Visual Studio compatiblity.