Moved initialization of constants out of class definition.

Defining constants of type double directly in the class declaration seems to be disallowed in Visual Studio.